﻿

namespace Jim.SHR;


[Sdk("getTripDayLength", "获取出差时长")]
public class SHRGetTripDayLengthRequest : ISdkRequest<SHRGetTripDayLengthResponse>
{
    /// <summary>
    /// 工号
    /// </summary>
    public string PersonNum { get; set; }
    /// <summary>
    /// 出差开始时间
    /// </summary>
    public string StartTime { get; set; }
    /// <summary>
    /// 出差截止时间
    /// </summary>
    public string EndTime { get; set; }

}
public class SHRGetTripDayLengthResponse : SdkResponse<SHRTripDayLength> { }


public class SHRTripDayLength
{
    [JsonProperty("realLength")]
    public float length { get; set; }

    public string CrossTrip { get; set; }
}